﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FinalProject_Poker.Tools {
	class MachineTime {
		public static Int32 GetCurrentSeconds() {
			DateTime staticDate = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc);
			TimeSpan timeSpan = DateTime.UtcNow - staticDate;
			return Convert.ToInt32(timeSpan.TotalSeconds);
		}
	}
}
